<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: wang
  Date: 2022/4/1
  Time: 13:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title></title>
  </head>
  <body>
  <table border="="1>
    <tr>
      <td>笔记标题</td>
      <td>笔记类型</td>
      <td>笔记时间</td>
      <td>操作</td>
    </tr>
    <c:forEach items="${list}" var="l">
      <tr>
        <td>${l.title}</td>
        <c:choose>
          <c:when test="${l.type==1}">
          <td>技术</td>
          </c:when>
          <c:when test="${l.type==2}">
          <td>行政</td>
          </c:when>
          <c:when test="${l.type==3}">
            <td>人事</td>
          </c:when>
        </c:choose>
        <td>${l.createDate}</td>
        <td><a href="#">查看</a></td>
      </tr>>
    </c:forEach>
  </table>
      </body>
</html>
